package com.oe.rpc.context;

import com.oe.rpc.network.IClient;
import com.oe.rpc.register.ServiceInfo;

public class ClientHolder {

    private IClient client;

    private ServiceInfo serviceInfo;

    public ClientHolder(IClient client, ServiceInfo serviceInfo) {
        this.client = client;
        this.serviceInfo = serviceInfo;
    }

    public IClient getClient() {
        return client;
    }

    public void setClient(IClient client) {
        this.client = client;
    }

    public ServiceInfo getServiceInfo() {
        return serviceInfo;
    }

    public void setServiceInfo(ServiceInfo serviceInfo) {
        this.serviceInfo = serviceInfo;
    }
}
